﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200089F RID: 2207
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GmTalkScRsp : IMessage<GmTalkScRsp>, IMessage, IEquatable<GmTalkScRsp>, IDeepCloneable<GmTalkScRsp>, IBufferMessage
	{
		// Token: 0x17001BC5 RID: 7109
		// (get) Token: 0x0600629E RID: 25246 RVA: 0x00105CE0 File Offset: 0x00103EE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GmTalkScRsp> Parser
		{
			get
			{
				return GmTalkScRsp._parser;
			}
		}

		// Token: 0x17001BC6 RID: 7110
		// (get) Token: 0x0600629F RID: 25247 RVA: 0x00105CE7 File Offset: 0x00103EE7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GmTalkScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001BC7 RID: 7111
		// (get) Token: 0x060062A0 RID: 25248 RVA: 0x00105CF9 File Offset: 0x00103EF9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GmTalkScRsp.Descriptor;
			}
		}

		// Token: 0x060062A1 RID: 25249 RVA: 0x00105D00 File Offset: 0x00103F00
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GmTalkScRsp()
		{
		}

		// Token: 0x060062A2 RID: 25250 RVA: 0x00105D13 File Offset: 0x00103F13
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GmTalkScRsp(GmTalkScRsp other) : this()
		{
			this.aBOEKICAFIF_ = other.aBOEKICAFIF_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060062A3 RID: 25251 RVA: 0x00105D44 File Offset: 0x00103F44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GmTalkScRsp Clone()
		{
			return new GmTalkScRsp(this);
		}

		// Token: 0x17001BC8 RID: 7112
		// (get) Token: 0x060062A4 RID: 25252 RVA: 0x00105D4C File Offset: 0x00103F4C
		// (set) Token: 0x060062A5 RID: 25253 RVA: 0x00105D54 File Offset: 0x00103F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string ABOEKICAFIF
		{
			get
			{
				return this.aBOEKICAFIF_;
			}
			set
			{
				this.aBOEKICAFIF_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x17001BC9 RID: 7113
		// (get) Token: 0x060062A6 RID: 25254 RVA: 0x00105D67 File Offset: 0x00103F67
		// (set) Token: 0x060062A7 RID: 25255 RVA: 0x00105D6F File Offset: 0x00103F6F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060062A8 RID: 25256 RVA: 0x00105D78 File Offset: 0x00103F78
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GmTalkScRsp);
		}

		// Token: 0x060062A9 RID: 25257 RVA: 0x00105D88 File Offset: 0x00103F88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GmTalkScRsp other)
		{
			return other != null && (other == this || (!(this.ABOEKICAFIF != other.ABOEKICAFIF) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060062AA RID: 25258 RVA: 0x00105DD8 File Offset: 0x00103FD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ABOEKICAFIF.Length != 0)
			{
				num ^= this.ABOEKICAFIF.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060062AB RID: 25259 RVA: 0x00105E32 File Offset: 0x00104032
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060062AC RID: 25260 RVA: 0x00105E3A File Offset: 0x0010403A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060062AD RID: 25261 RVA: 0x00105E44 File Offset: 0x00104044
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ABOEKICAFIF.Length != 0)
			{
				output.WriteRawTag(82);
				output.WriteString(this.ABOEKICAFIF);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060062AE RID: 25262 RVA: 0x00105EA4 File Offset: 0x001040A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ABOEKICAFIF.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.ABOEKICAFIF);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060062AF RID: 25263 RVA: 0x00105F00 File Offset: 0x00104100
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GmTalkScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ABOEKICAFIF.Length != 0)
			{
				this.ABOEKICAFIF = other.ABOEKICAFIF;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060062B0 RID: 25264 RVA: 0x00105F55 File Offset: 0x00104155
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060062B1 RID: 25265 RVA: 0x00105F60 File Offset: 0x00104160
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 82U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.ABOEKICAFIF = input.ReadString();
				}
			}
		}

		// Token: 0x040025B4 RID: 9652
		private static readonly MessageParser<GmTalkScRsp> _parser = new MessageParser<GmTalkScRsp>(() => new GmTalkScRsp());

		// Token: 0x040025B5 RID: 9653
		private UnknownFieldSet _unknownFields;

		// Token: 0x040025B6 RID: 9654
		public const int ABOEKICAFIFFieldNumber = 10;

		// Token: 0x040025B7 RID: 9655
		private string aBOEKICAFIF_ = "";

		// Token: 0x040025B8 RID: 9656
		public const int RetcodeFieldNumber = 12;

		// Token: 0x040025B9 RID: 9657
		private uint retcode_;
	}
}
